package com.itotem.android.everbridge.view;

import com.itotem.android.everbridge.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageButton;

public class BCDeliveryThrottlingView extends TitleView {
	
	Context mContext;
	ImageButton applyImg, requireImg;

	public BCDeliveryThrottlingView(Context context) {
		super(context);
		this.mContext = context;
		initViews();
		initTitleView();
	}
	
	private void initTitleView() {
		setLeftBackImageVisible(true);
		setRightImageVisible(false);
		setRightRebroadImageVisible(false);
		setLeftImageVisible(false);
		setText("BC Delivery Throttling");
	}
	
	private void initViews() {
		View v = LayoutInflater.from(mContext).inflate(R.layout.bc_delivery_throttling, null);
		applyImg = (ImageButton)v.findViewById(R.id.bc_delivery_apply_btn);
		requireImg = (ImageButton)v.findViewById(R.id.bc_delivery_require_btn);
		addView(v);
	}

}
